package nu.mine.tbje.easyEDT;

import junit.framework.TestCase;

public class NodeTest extends TestCase {

	public void testNode() {
		Node x = new Node(0, "hola");
		x.addChild(new Node(34, "GBA"));
		x.addChild(new Node(35, "DGEI"));
		x.addChild(new Node(36, "GC"));
		x.addChild(new Node(37, "GMM"));
		
		try {
			x.getChild(34).addChild(new Node(38, "4eme annee"));
			x.getChild(34).addChild(new Node(39, "5eme annee"));
			x.getChild(35).addChild(new Node(40, "4eme annee"));
			x.getChild(35).addChild(new Node(41, "5eme annee"));
			x.getChild(36).addChild(new Node(42, "4eme annee"));
			x.getChild(36).addChild(new Node(43, "5eme annee"));
			x.getChild(37).addChild(new Node(44, "4eme annee"));
			x.getChild(37).addChild(new Node(45, "5eme annee"));
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
}
